The EMODnet Bathymetry World Coastline's layer contains vector lines derived from land polygons available from OpenStreetMap.
OSM coastlines